/**
 * Created by admin on 2018/11/16.
 */
const Router = require('koa-router');
const controller = require('../controllers/scoreInfoCtrl');

const router = new Router({
  sensitive: true,
  prefix: '/scoreInfo'
});
/**
 * 保存行用评分内容
 */
router.post('/save', controller.save);

/**
 * 根据电话号码查询信用评分信息
 * http:// localhost:20099/scoreInfo/scoreInfo?m=13886127354
 */
router.get('/select', controller.select);

module.exports = router;